#include "ManDrawer.h"
#include "Main_constant.h"



BOOL ManDrawer::SetParam(WORD memId, Ndata* pSrcParam) {
	


	return true;
}


BOOL ManDrawer::GetParam(WORD memId, Ndata* pDstParam) {

	switch (memId)
	{
		//class
		case 0: {
			pDstParam->SetDataBody(STR_TYPE, "Drawer", 16);
			break;
		}
	 //params
		case 1: {
			DWORD dvba[12] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, -0 };
			for (int i = 0; i < 12; i++) {
				dvba[i] = Int2Dvb(dvba[i]);
			}
			pDstParam->SetDataBody(DVBA_TYPE, dvba, 10 * 4);
			break;
		}
		default: {
			break;
		}
	}
	return true;
}

